#ifndef __H_GAME_HOST_H__
#define __H_GAME_HOST_H__

#include "ICC_Timer_Handler.h"
#include "HostBase.h"
#include "Game.h"

class CHost : public CHostBase, BYTimerOject
{
public:
	CHost();
	virtual ~CHost();

	virtual int OnBYTimeOut(int Timerid);
	virtual void Init();
	virtual int ProcEvent(int ev_id, SpiderEvent* pEvent = NULL);
	virtual int ProcPacket(NETInputPacket* inputPkg, SocketHandler* pSocketHandler);
public:
	CGameServer* m_pGame;
	bool m_bCacheConnOK;
	bool m_bGameInit;
};

#endif